<?php

use yii\db\Migration;

class m191107_050146_common_auth_item extends Migration
{
    public function up()
    {
        /* 取消外键约束 */
        $this->execute('SET foreign_key_checks = 0');
        
        /* 创建表 */
        $this->createTable('{{%common_auth_item}}', [
            'id' => "int(11) NOT NULL AUTO_INCREMENT",
            'title' => "varchar(200) NULL DEFAULT '' COMMENT '标题'",
            'name' => "varchar(64) NOT NULL DEFAULT '' COMMENT '别名'",
            'app_id' => "varchar(20) NOT NULL DEFAULT '' COMMENT '应用'",
            'type' => "varchar(20) NOT NULL DEFAULT '' COMMENT '类别'",
            'addons_name' => "varchar(100) NOT NULL DEFAULT '' COMMENT '插件名称'",
            'pid' => "int(10) NULL DEFAULT '0' COMMENT '父级id'",
            'level' => "int(5) NULL DEFAULT '1' COMMENT '级别'",
            'is_menu' => "tinyint(4) NULL DEFAULT '0' COMMENT '是否菜单'",
            'sort' => "int(10) NULL DEFAULT '9999' COMMENT '排序'",
            'tree' => "varchar(500) NULL DEFAULT '' COMMENT '树'",
            'status' => "tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态[-1:删除;0:禁用;1启用]'",
            'created_at' => "int(11) NULL DEFAULT '0'",
            'updated_at' => "int(11) NULL DEFAULT '0'",
            'PRIMARY KEY (`id`)'
        ], "ENGINE=InnoDB  DEFAULT CHARSET=utf8mb4 COMMENT='公用_权限表'");
        
        /* 索引设置 */
        
        
        /* 表数据 */
        $this->insert('{{%common_auth_item}}',['id'=>'3984','title'=>'系统基础','name'=>'base','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3985','title'=>'个人中心','name'=>'/base/member/personal','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3984','level'=>'2','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_3984 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3986','title'=>'修改密码','name'=>'/base/member/up-password','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3984','level'=>'2','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_3984 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3987','title'=>'清理缓存','name'=>'/main/clear-cache','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3984','level'=>'2','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_3984 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3988','title'=>'查看消息','name'=>'baseAnnounce','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3984','level'=>'2','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_3984 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3989','title'=>'公告列表','name'=>'/notify/announce','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3988','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_3984 tr_3988 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3990','title'=>'公告详情','name'=>'/notify/announce-view','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3988','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_3984 tr_3988 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3991','title'=>'私信列表','name'=>'/notify/message','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3988','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_3984 tr_3988 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3992','title'=>'提醒列表','name'=>'/notify/remind','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3988','level'=>'3','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_3984 tr_3988 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3993','title'=>'平台首页','name'=>'cate:1','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3994','title'=>'会员管理','name'=>'indexMember','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3993','level'=>'2','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_3993 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3995','title'=>'会员信息','name'=>'indexMemberInfo','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3994','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_3993 tr_3994 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3996','title'=>'充值','name'=>'/member/member/recharge','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3995','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_3993 tr_3994 tr_3995 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3997','title'=>'首页','name'=>'/member/member/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3995','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_3993 tr_3994 tr_3995 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3998','title'=>'编辑','name'=>'/member/member/edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3995','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_3993 tr_3994 tr_3995 ','status'=>'1','created_at'=>'1572843154','updated_at'=>'1572843154']);
        $this->insert('{{%common_auth_item}}',['id'=>'3999','title'=>'新增/账号密码','name'=>'/member/member/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3995','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_3993 tr_3994 tr_3995 ','status'=>'1','created_at'=>'1572843155','updated_at'=>'1572843155']);
        $this->insert('{{%common_auth_item}}',['id'=>'4000','title'=>'删除','name'=>'/member/member/destroy','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3995','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_3993 tr_3994 tr_3995 ','status'=>'1','created_at'=>'1572843155','updated_at'=>'1572843155']);
        $this->insert('{{%common_auth_item}}',['id'=>'4001','title'=>'状态修改','name'=>'/member/member/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3995','level'=>'4','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_3993 tr_3994 tr_3995 ','status'=>'1','created_at'=>'1572843155','updated_at'=>'1572843155']);
        $this->insert('{{%common_auth_item}}',['id'=>'4002','title'=>'收货地址','name'=>'indexMemberAddress','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3995','level'=>'4','is_menu'=>'0','sort'=>'6','tree'=>'tr_0 tr_3993 tr_3994 tr_3995 ','status'=>'1','created_at'=>'1572843155','updated_at'=>'1572843155']);
        $this->insert('{{%common_auth_item}}',['id'=>'4003','title'=>'首页','name'=>'/member/address/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4002','level'=>'5','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_3993 tr_3994 tr_3995 tr_4002 ','status'=>'1','created_at'=>'1572843155','updated_at'=>'1572843155']);
        $this->insert('{{%common_auth_item}}',['id'=>'4004','title'=>'新增/编辑','name'=>'/member/address/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4002','level'=>'5','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_3993 tr_3994 tr_3995 tr_4002 ','status'=>'1','created_at'=>'1572843155','updated_at'=>'1572843155']);
        $this->insert('{{%common_auth_item}}',['id'=>'4005','title'=>'删除','name'=>'/member/address/destroy','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4002','level'=>'5','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_3993 tr_3994 tr_3995 tr_4002 ','status'=>'1','created_at'=>'1572843155','updated_at'=>'1572843155']);
        $this->insert('{{%common_auth_item}}',['id'=>'4006','title'=>'状态修改','name'=>'/member/address/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4002','level'=>'5','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_3993 tr_3994 tr_3995 tr_4002 ','status'=>'1','created_at'=>'1572843155','updated_at'=>'1572843155']);
        $this->insert('{{%common_auth_item}}',['id'=>'4007','title'=>'第三方用户','name'=>'indexMemberAuth','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3994','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_3993 tr_3994 ','status'=>'1','created_at'=>'1572843155','updated_at'=>'1572843155']);
        $this->insert('{{%common_auth_item}}',['id'=>'4008','title'=>'首页','name'=>'/member/auth/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4007','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_3993 tr_3994 tr_4007 ','status'=>'1','created_at'=>'1572843155','updated_at'=>'1572843155']);
        $this->insert('{{%common_auth_item}}',['id'=>'4009','title'=>'新增/编辑','name'=>'/member/auth/edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4007','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_3993 tr_3994 tr_4007 ','status'=>'1','created_at'=>'1572843155','updated_at'=>'1572843155']);
        $this->insert('{{%common_auth_item}}',['id'=>'4010','title'=>'删除','name'=>'/member/auth/destroy','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4007','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_3993 tr_3994 tr_4007 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4011','title'=>'状态修改','name'=>'/member/auth/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4007','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_3993 tr_3994 tr_4007 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4012','title'=>'充值日志','name'=>'/member/credits-log/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'3994','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_3993 tr_3994 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4013','title'=>'系统管理','name'=>'cate:2','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4014','title'=>'网站设置','name'=>'/common/config/edit-all','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4013','level'=>'2','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4015','title'=>'数据保存','name'=>'/common/config/update-info','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4014','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4014 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4016','title'=>'系统功能','name'=>'commonFunction','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4013','level'=>'2','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4017','title'=>'应用管理','name'=>'commonAddons','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4016','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4016 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4018','title'=>'已安装插件','name'=>'/common/addons/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4017','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4016 tr_4017 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4019','title'=>'本地插件','name'=>'/common/addons/local','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4017','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4016 tr_4017 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4020','title'=>'安装插件','name'=>'/common/addons/install','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4017','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4016 tr_4017 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4021','title'=>'卸载插件','name'=>'/common/addons/un-install','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4017','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4016 tr_4017 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4022','title'=>'设计插件','name'=>'/common/addons/create','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4017','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_4013 tr_4016 tr_4017 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4023','title'=>'状态修改','name'=>'/common/addons/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4017','level'=>'4','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_4013 tr_4016 tr_4017 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4024','title'=>'编辑','name'=>'/common/addons/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4017','level'=>'4','is_menu'=>'0','sort'=>'6','tree'=>'tr_0 tr_4013 tr_4016 tr_4017 ','status'=>'1','created_at'=>'1572843156','updated_at'=>'1572843156']);
        $this->insert('{{%common_auth_item}}',['id'=>'4025','title'=>'更新数据库','name'=>'/common/addons/upgrade','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4017','level'=>'4','is_menu'=>'0','sort'=>'7','tree'=>'tr_0 tr_4013 tr_4016 tr_4017 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4026','title'=>'配置管理','name'=>'commonConfig','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4016','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4016 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4027','title'=>'首页','name'=>'/common/config/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4026','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4016 tr_4026 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4028','title'=>'编辑','name'=>'/common/config/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4026','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4016 tr_4026 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4029','title'=>'删除','name'=>'/common/config/delete','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4026','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4016 tr_4026 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4030','title'=>'状态修改','name'=>'/common/config/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4026','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4016 tr_4026 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4031','title'=>'配置分类','name'=>'commonConfigCate','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4026','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_4013 tr_4016 tr_4026 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4032','title'=>'首页','name'=>'/common/config-cate/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4031','level'=>'5','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4016 tr_4026 tr_4031 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4033','title'=>'编辑','name'=>'/common/config-cate/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4031','level'=>'5','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4016 tr_4026 tr_4031 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4034','title'=>'删除','name'=>'/common/config-cate/delete','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4031','level'=>'5','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4016 tr_4026 tr_4031 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4035','title'=>'状态修改','name'=>'/common/config-cate/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4031','level'=>'5','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4016 tr_4026 tr_4031 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4036','title'=>'后台菜单','name'=>'commonMenu','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4016','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4016 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4037','title'=>'首页','name'=>'/common/menu/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4036','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4016 tr_4036 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4038','title'=>'新增/编辑','name'=>'/common/menu/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4036','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4016 tr_4036 ','status'=>'1','created_at'=>'1572843157','updated_at'=>'1572843157']);
        $this->insert('{{%common_auth_item}}',['id'=>'4039','title'=>'删除','name'=>'/common/menu/delete','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4036','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4016 tr_4036 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4040','title'=>'状态修改','name'=>'/common/menu/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4036','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4016 tr_4036 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4041','title'=>'菜单分类','name'=>'commonMenuCate','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4036','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_4013 tr_4016 tr_4036 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4042','title'=>'首页','name'=>'/common/menu-cate/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4041','level'=>'5','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4016 tr_4036 tr_4041 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4043','title'=>'新增/编辑','name'=>'/common/menu-cate/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4041','level'=>'5','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4016 tr_4036 tr_4041 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4044','title'=>'删除','name'=>'/common/menu-cate/delete','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4041','level'=>'5','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4016 tr_4036 tr_4041 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4045','title'=>'状态修改','name'=>'/common/menu-cate/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4041','level'=>'5','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4016 tr_4036 tr_4041 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4046','title'=>'公告管理','name'=>'commonNotifyAnnounce','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4016','level'=>'3','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4016 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4047','title'=>'首页','name'=>'/base/notify-announce/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4046','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4016 tr_4046 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4048','title'=>'新增/编辑','name'=>'/base/notify-announce/edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4046','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4016 tr_4046 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4049','title'=>'删除','name'=>'/base/notify-announce/destroy','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4046','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4016 tr_4046 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4050','title'=>'私信管理','name'=>'commonNotifyMessage','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4016','level'=>'3','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_4013 tr_4016 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4051','title'=>'首页','name'=>'/base/notify-message/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4050','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4016 tr_4050 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4052','title'=>'新增','name'=>'/base/notify-message/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4050','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4016 tr_4050 ','status'=>'1','created_at'=>'1572843158','updated_at'=>'1572843158']);
        $this->insert('{{%common_auth_item}}',['id'=>'4053','title'=>'删除','name'=>'/base/notify-message/destroy','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4050','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4016 tr_4050 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4054','title'=>'用户权限','name'=>'backendMemberAuth','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4013','level'=>'2','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4055','title'=>'后台用户','name'=>'backendMember','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4054','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4054 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4056','title'=>'首页','name'=>'/base/member/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4055','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4054 tr_4055 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4057','title'=>'新增/账号密码','name'=>'/base/member/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4055','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4054 tr_4055 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4058','title'=>'删除','name'=>'/base/member/destroy','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4055','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4054 tr_4055 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4059','title'=>'状态修改','name'=>'/base/member/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4055','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4054 tr_4055 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4060','title'=>'编辑','name'=>'/base/member/edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4055','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_4013 tr_4054 tr_4055 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4061','title'=>'权限管理','name'=>'commonAuthItem','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4054','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4054 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4062','title'=>'首页','name'=>'/common/auth-item/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4061','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4054 tr_4061 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4063','title'=>'新增/编辑','name'=>'/common/auth-item/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4061','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4054 tr_4061 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4064','title'=>'删除','name'=>'/common/auth-item/delete','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4061','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4054 tr_4061 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4065','title'=>'状态修改','name'=>'/common/auth-item/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4061','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4054 tr_4061 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4066','title'=>'角色管理','name'=>'commonAuthRole','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4054','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4054 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4067','title'=>'首页','name'=>'/common/auth-role/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4066','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4054 tr_4066 ','status'=>'1','created_at'=>'1572843159','updated_at'=>'1572843159']);
        $this->insert('{{%common_auth_item}}',['id'=>'4068','title'=>'新增/编辑','name'=>'/common/auth-role/edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4066','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4054 tr_4066 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4069','title'=>'删除','name'=>'/common/auth-role/delete','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4066','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4054 tr_4066 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4070','title'=>'状态修改','name'=>'/common/auth-role/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4066','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4054 tr_4066 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4071','title'=>'客户授权','name'=>'oauth2Client','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4013','level'=>'2','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4072','title'=>'首页','name'=>'/oauth2/client/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4071','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4071 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4073','title'=>'删除','name'=>'/oauth2/client/destroy','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4071','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4071 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4074','title'=>'状态修改','name'=>'/oauth2/client/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4071','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4071 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4075','title'=>'新增/编辑','name'=>'/oauth2/client/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4071','level'=>'3','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4071 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4076','title'=>'系统工具','name'=>'commonTool','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4013','level'=>'2','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_4013 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4077','title'=>'系统信息','name'=>'/common/system/info','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4076','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4076 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4078','title'=>'资源文件','name'=>'commonAttachment','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4076','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4076 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4079','title'=>'首页','name'=>'/common/attachment/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4078','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4076 tr_4078 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4080','title'=>'删除','name'=>'/common/attachment/destroy','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4078','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4076 tr_4078 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4081','title'=>'状态修改','name'=>'/common/attachment/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4078','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4076 tr_4078 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4082','title'=>'查看日志','name'=>'commonLog','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4076','level'=>'3','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4076 ','status'=>'1','created_at'=>'1572843160','updated_at'=>'1572843160']);
        $this->insert('{{%common_auth_item}}',['id'=>'4083','title'=>'行为日志','name'=>'/common/action-log/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4082','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4076 tr_4082 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4084','title'=>'行为日志详情','name'=>'/common/action-log/view','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4082','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4076 tr_4082 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4085','title'=>'报错日志','name'=>'/common/log/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4082','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4076 tr_4082 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4086','title'=>'报错日志详情','name'=>'/common/log/view','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4082','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4076 tr_4082 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4087','title'=>'支付日志','name'=>'/common/pay-log/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4082','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_4013 tr_4076 tr_4082 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4088','title'=>'支付日志详情','name'=>'/common/pay-log/view','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4082','level'=>'4','is_menu'=>'0','sort'=>'5','tree'=>'tr_0 tr_4013 tr_4076 tr_4082 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4089','title'=>'短信日志','name'=>'/common/sms-log/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4082','level'=>'4','is_menu'=>'0','sort'=>'6','tree'=>'tr_0 tr_4013 tr_4076 tr_4082 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4090','title'=>'IP黑名单','name'=>'commonIpBlacklist','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4076','level'=>'3','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4076 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4091','title'=>'首页','name'=>'/common/ip-blacklist/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4090','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4076 tr_4090 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4092','title'=>'删除','name'=>'/common/ip-blacklist/destroy','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4090','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4076 tr_4090 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4093','title'=>'状态修改','name'=>'/common/ip-blacklist/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4090','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4076 tr_4090 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4094','title'=>'新增/编辑','name'=>'/common/ip-blacklist/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4090','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4076 tr_4090 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4095','title'=>'行为监控','name'=>'commonActionBehavior','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4076','level'=>'3','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_4013 tr_4076 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4096','title'=>'首页','name'=>'/common/action-behavior/index','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4095','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4013 tr_4076 tr_4095 ','status'=>'1','created_at'=>'1572843161','updated_at'=>'1572843161']);
        $this->insert('{{%common_auth_item}}',['id'=>'4097','title'=>'新增/编辑','name'=>'/common/action-behavior/ajax-edit','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4095','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4013 tr_4076 tr_4095 ','status'=>'1','created_at'=>'1572843162','updated_at'=>'1572843162']);
        $this->insert('{{%common_auth_item}}',['id'=>'4098','title'=>'删除','name'=>'/common/action-behavior/delete','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4095','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4013 tr_4076 tr_4095 ','status'=>'1','created_at'=>'1572843162','updated_at'=>'1572843162']);
        $this->insert('{{%common_auth_item}}',['id'=>'4099','title'=>'状态修改','name'=>'/common/action-behavior/ajax-update','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'4095','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4013 tr_4076 tr_4095 ','status'=>'1','created_at'=>'1572843162','updated_at'=>'1572843162']);
        $this->insert('{{%common_auth_item}}',['id'=>'4100','title'=>'应用中心','name'=>'cate:3','app_id'=>'backend','type'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 ','status'=>'1','created_at'=>'1572843162','updated_at'=>'1572843162']);
        $this->insert('{{%common_auth_item}}',['id'=>'4324','title'=>'系统基础','name'=>'base','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4325','title'=>'个人中心','name'=>'/base/member/personal','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4324','level'=>'2','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4324 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4326','title'=>'修改密码','name'=>'/base/member/up-password','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4324','level'=>'2','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4324 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4327','title'=>'系统管理','name'=>'cate:4','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4328','title'=>'网站设置','name'=>'/common/config/edit-all','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4327','level'=>'2','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4327 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4329','title'=>'数据保存','name'=>'/common/config/update-info','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4328','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4327 tr_4328 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4330','title'=>'用户权限','name'=>'merchantMemberAuth','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4327','level'=>'2','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4327 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4331','title'=>'后台用户','name'=>'merchantMember','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4330','level'=>'3','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4327 tr_4330 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4332','title'=>'首页','name'=>'/base/member/index','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4331','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4327 tr_4330 tr_4331 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4333','title'=>'新增/账号密码','name'=>'/base/member/ajax-edit','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4331','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4327 tr_4330 tr_4331 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4334','title'=>'删除','name'=>'/base/member/destroy','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4331','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4327 tr_4330 tr_4331 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4335','title'=>'状态修改','name'=>'/base/member/ajax-update','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4331','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4327 tr_4330 tr_4331 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4336','title'=>'编辑','name'=>'/base/member/edit','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4331','level'=>'4','is_menu'=>'0','sort'=>'4','tree'=>'tr_0 tr_4327 tr_4330 tr_4331 ','status'=>'1','created_at'=>'1572850254','updated_at'=>'1572850254']);
        $this->insert('{{%common_auth_item}}',['id'=>'4337','title'=>'角色管理','name'=>'commonAuthRole','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4330','level'=>'3','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4327 tr_4330 ','status'=>'1','created_at'=>'1572850255','updated_at'=>'1572850255']);
        $this->insert('{{%common_auth_item}}',['id'=>'4338','title'=>'首页','name'=>'/common/auth-role/index','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4337','level'=>'4','is_menu'=>'0','sort'=>'0','tree'=>'tr_0 tr_4327 tr_4330 tr_4337 ','status'=>'1','created_at'=>'1572850255','updated_at'=>'1572850255']);
        $this->insert('{{%common_auth_item}}',['id'=>'4339','title'=>'新增/编辑','name'=>'/common/auth-role/edit','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4337','level'=>'4','is_menu'=>'0','sort'=>'1','tree'=>'tr_0 tr_4327 tr_4330 tr_4337 ','status'=>'1','created_at'=>'1572850255','updated_at'=>'1572850255']);
        $this->insert('{{%common_auth_item}}',['id'=>'4340','title'=>'删除','name'=>'/common/auth-role/delete','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4337','level'=>'4','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 tr_4327 tr_4330 tr_4337 ','status'=>'1','created_at'=>'1572850255','updated_at'=>'1572850255']);
        $this->insert('{{%common_auth_item}}',['id'=>'4341','title'=>'状态修改','name'=>'/common/auth-role/ajax-update','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'4337','level'=>'4','is_menu'=>'0','sort'=>'3','tree'=>'tr_0 tr_4327 tr_4330 tr_4337 ','status'=>'1','created_at'=>'1572850255','updated_at'=>'1572850255']);
        $this->insert('{{%common_auth_item}}',['id'=>'4342','title'=>'应用中心','name'=>'cate:5','app_id'=>'merchant','type'=>'default','addons_name'=>'','pid'=>'0','level'=>'1','is_menu'=>'0','sort'=>'2','tree'=>'tr_0 ','status'=>'1','created_at'=>'1572850255','updated_at'=>'1572850255']);
        
        /* 设置外键约束 */
        $this->execute('SET foreign_key_checks = 1;');
    }

    public function down()
    {
        $this->execute('SET foreign_key_checks = 0');
        /* 删除表 */
        $this->dropTable('{{%common_auth_item}}');
        $this->execute('SET foreign_key_checks = 1;');
    }
}

